import QtQuick 1.1
import com.nokia.meego 1.0

Dialog {
    id: dialog
    property int score : 0
    property alias titleText: titleLabel.text
    property alias note: textInput.text
    title: Label {
        id: titleLabel
        horizontalAlignment: Text.AlignHCenter
        width: parent.width
        height: 50
        color: "white"
        text: ""
        font.pixelSize: 30
    }
    buttons: ButtonRow {
        anchors.horizontalCenter: parent.horizontalCenter
        Button {
            text: qsTr("Ok")
            onClicked: {
                dialog.accept()
            }
        }
        Button {
            text: qsTr("Cancel")
            onClicked: {
                dialog.reject()
            }
        }
    }
    content: TextField {
        id: textInput
        width: parent.width
        placeholderText:qsTr("Input note")
    }
}
